from rest_framework import serializers
from shop import models

class ProductSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Product
        fields = '__all__'

class ShoppingSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Shopping
        fields = '__all__'